package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author biubiu0002
 * @email 1007918011@qq.com
 * @date 2021-05-23 12:14:36
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {


//    List<AttrEntity> noRelationAttr(@Param("attrGroupId") Long attrGroupId);

    IPage<AttrEntity> noRelationAttr(IPage<AttrEntity> page, @Param("attrGroupId") Long attrGroupId);
}
